package com.atguigu.educenter.service;

import com.atguigu.educenter.entity.UcenterMember;
import com.atguigu.educenter.entity.vo.LoginInfoVO;
import com.atguigu.educenter.entity.vo.LoginVO;
import com.atguigu.educenter.entity.vo.RegisterVO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author zr
 * @since 2021-11-22
 */
public interface UcenterMemberService extends IService<UcenterMember> {

    String login(LoginVO loginVO);

    void register(RegisterVO registerVO);

    LoginInfoVO getLoginInfo(String memberId);

    UcenterMember getOpenId(String openid);

    /**
     * 根据日期查询那一天的注册人数
     * @param day
     * @return
     */
    Integer countRegister(String day);
}
